import {fetchGet} from "@/server/request"

/**
 * @name checkMusic
 * @description 检查音乐是否可用！
 * @param {number} params
 * @returns
 */
export const checkMusic = params => fetchGet(`/check/music`, params)

/**
 * @name  getSongUrl
 * @description 获取音乐播放详情
 * @param {*} params
 * @returns
 */
export const getSongUrlInfo = params => fetchGet(`/song/url`, params)

/**
 * @name  getSongsDetails
 * @description 获取歌曲的详情（多个详情）
 * @param {*} params
 * @returns
 */
export const getSongsDetails = params => fetchGet(`/song/detail`, params)

/*
    getSongLyric 获取歌词！
 */
export const getSongLyric = params => fetchGet(`/lyric`, params)